class SearchShop {
  String categoryCode;
  int pageNo = 1;
  int pageSize = 20;

  SearchShop({this.categoryCode, this.pageNo = 1, this.pageSize = 20});

  SearchShop.fromJson(Map<String, dynamic> json) {
    categoryCode = json['categoryCode'];
    pageNo = json['pageNo'];
    pageSize = json['pageSize'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['categoryCode'] = this.categoryCode;
    data['pageNo'] = this.pageNo;
    data['pageSize'] = this.pageSize;
    return data;
  }
}
